package models

import (
	"go-admin-official/modules/database"
)

type Base struct {
	Table string
	Tx    *database.SqlTx
}

func (a Base) WithTx(tx *database.SqlTx) Base {
	a.Tx = tx
	return a
}
